package cn.iocoder.yudao.module.wrzj.enums;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

/**
 * 错误码枚举类
 */
public interface ErrorCodeConstants {

    ErrorCode USER_NOT_EXISTS = new ErrorCode(5001, "伟人之家-用户不存在");
    // ========== AUTH 模块 1-004-003-000 ==========
    ErrorCode AUTH_LOGIN_BAD_CREDENTIALS = new ErrorCode(1_004_003_000, "登录失败，账号密码不正确");
    ErrorCode AUTH_LOGIN_USER_DISABLED = new ErrorCode(1_004_003_001, "登录失败，账号被禁用");
    ErrorCode AUTH_SOCIAL_USER_NOT_FOUND = new ErrorCode(1_004_003_005, "登录失败，解析不到三方登录信息");
    ErrorCode AUTH_MOBILE_USED = new ErrorCode(1_004_003_007, "手机号已经被使用");

    ErrorCode GREATMAN_NOT_EXISTS = new ErrorCode(1_004_003_008, "伟人不存在");
    ErrorCode CONVERSATION_NOT_EXISTS = new ErrorCode(1_004_003_009, "会话不存在");

    ErrorCode GREATMAN_HAS_OWNED = new ErrorCode(1_004_003_010, "该伟人已被召唤");
    ErrorCode GREATMAN_SCORE_NOT_ENOUGH = new ErrorCode(1_004_003_010, "好感度不足50，无法召唤");
}
